home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat7 / usema.z / usema
Encoding:
Text File  |  1998-10-20  |  1.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. UUUUSSSSEEEEMMMMAAAA((((7777MMMM))))                                                            UUUUSSSSEEEEMMMMAAAA((((7777MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      usema, usemaclone - software semaphore driver
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      The usema driver manages the allocation and operation of counting
  13.      semaphores that are used as the basis of spinlocks and semaphores.
  14.  
  15.      The _u_s_e_m_a_c_l_o_n_e device allocates a new semaphore device, and returns a
  16.      file handle to it.  Other processes can attach to that semaphore using an
  17.      _i_o_c_t_l operation on the _u_s_e_m_a device.  The driver provides atomic blocking
  18.      and unblocking services.  Blocking can be either interruptible or not.
  19.      The driver also provides for asynchronous blocking and later polling to
  20.      inquire whether a given semaphore is available.  This polling is
  21.      available through the standard _p_o_l_l(2) and _s_e_l_e_c_t(2) mechanisms.
  22.  
  23. CCCCAAAAVVVVEEEEAAAATTTTSSSS
  24.      The _u_s_e_m_a driver is intended to be used only by the standard library
  25.      spinlock and semaphore routines.  Client programs should use these
  26.      routines, rather than using _u_s_e_m_a directly.
  27.  
  28. FFFFIIIILLLLEEEESSSS
  29.      /dev/usema
  30.  
  31.      /dev/usemaclone
  32.  
  33. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  34.      poll(2), select(2), usinit(3P), usnewlock(3P), usnewsema(3P).
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.